package com.sc.nft.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.sc.nft.enums.wallet.MallDaoWalletTypeEnum;
import com.sc.nft.sup.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商城dao钱包明细
 * </p>
 *
 * @author ligen
 * @since 2024-01-17
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_mall_dao_wallet_detail")
@ApiModel(value="ScMallDaoWalletDetail对象", description="商城dao钱包明细")
public class MallDaoWalletDetail extends SuperEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "daoId")
    private Long daoId;

    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "手续费")
    private BigDecimal charge;

    @ApiModelProperty(value = "实际金额")
    private BigDecimal realAmount;

    @ApiModelProperty(value = "操作前余额")
    private BigDecimal beforeAmount;

    @ApiModelProperty(value = "操作后余额")
    private BigDecimal afterAmount;

    @ApiModelProperty(value = "增加操作")
    private Boolean isAdd;

    @ApiModelProperty(value = "操作类型")
    private MallDaoWalletTypeEnum type;

    @ApiModelProperty(value = "操作备注")
    private String remark;

}
